// import routerObj from './routesImport'

export const routerList = [
  {
    path: '/study',
    name: 'study',
    meta: {
      title: '前端学习',
      icon: 'laptop',
      auth: true
    },
    children: [
      {
        path: '/visualData',
        name: 'visualData',
        component: import('@/views/VisualData'),
        meta: {
          title: '可视化',
          icon: 'global',
          auth: true
        }
      }
    ]
  },
  {
    path: '/users',
    name: 'users',
    component: () => import('@/views/UserManage'),
    meta: {
      title: '用户管理',
      icon: 'user',
      auth: true
    }
  },
  {
    path: '/readBook',
    name: 'readBook',
    component: () => import('@/views/ReadBook'),
    meta: {
      title: '阅读记录',
      icon: 'read',
      auth: true
    }
  },
  {
    path: '/setting',
    name: 'setting',
    component: () => import('@/views/Setting'),
    meta: {
      title: '系统设置',
      icon: 'setting',
      auth: true
    }
  }
]
